import Vue from 'vue'
import Router from 'vue-router'

import SwaggerSource from  "@/views/ap-config-generate/swagger-fox-source.vue"
import YapiSource from "@/views/ap-config-generate/yapi-source.vue"
import UniappPkgAssistant from "@/views/ap-config-generate/uniapp-pkg-assistant.vue" 

Vue.use(Router);

export default new Router({
    routes: [
        {
            path: "/",
            name: "home",
            component: UniappPkgAssistant
        },
        {
            path: "/swagger-source",
            name: "swagger-source",
            component: SwaggerSource
        },
        {
            path: "/yapi-source",
            name: "yapi-source",
            component: YapiSource
        },
        {
            path: "/uniapp-pkg-assistant",
            name: "uniapp-pkg-assistant",
            component: UniappPkgAssistant
        }


    ]
})